const express = require('express');
const router = express.Router();
const tableController = require('../controller/table');

// 用户相关路由
router.post('/table', tableController.addTableData);
router.delete('/table/:id', tableController.deleteTableDataById);
router.put('/table', tableController.updateTableData);
router.get('/table', tableController.getTableData);


module.exports = router;
